//重置密码功能
$('.layui-form').on('submit', async (e) => {
  e.preventDefault()
  let obj = {
    oldPwd: $('input[name=oldPwd]').val(),
    newPwd: $('input[name=newPwd]').val(),
  }
  const res = await reqPostRePwd(obj)
  // console.log(res)
  localStorage.removeItem('big-event-token')
  window.parent.location.href = '/login.html'
})
